<%@ page import="com.novix.portal.framework.util.IConstants" %>
<%@ page import="org.apache.commons.lang.WordUtils"%>
<%@ page import="org.apache.commons.lang.StringUtils" %>
<%@ page import="com.novix.portal.framework.util.UserContainer" %>
<%@ page import="com.novix.portal.framework.model.IPortalUser" %>


<%
//String userCss = ((UserContainer)request.getSession().getAttribute(IConstants.USER_CONTAINER)).getUser().getCaptive().toLowerCase();
String userCss =null;
//(String)request.getSession().getAttribute("usercss");
String css ="global";
//if(userCss!=null)
//	css = userCss;
//else{	
	UserContainer c = (UserContainer)request.getSession().getAttribute(IConstants.USER_CONTAINER);
	IPortalUser u = c.getUser();
	String ca = u.getCaptive();
	if(c!=null && u !=null && ca !=null){
		userCss = (ca.toLowerCase());
		css = userCss;
	//		session.setAttribute("usercss",userCss);
	}
	
//}
//StringUtils.isEmpty((String) session.getAttribute(IConstants.CAPTIVE_ATTRIBUTE))?"global":(String) session.getAttribute(IConstants.CAPTIVE_ATTRIBUTE);
%>
